class CreateBookshops < ActiveRecord::Migration
  def self.up
    create_table :bookshops do |t|
      t.string :name
      t.string :acronym
      t.string :ftp
      t.float :discount
      t.boolean :shipping_cost
      t.integer :cboxp
      t.integer :cboxt
      t.integer :cboxc
      t.references :currency

      t.timestamps
    end
  end

  def self.down
    drop_table :bookshops
  end
end
